Delegate Based CRUDRepo
class DelegateBasedCRUDRepo<ObjectType, IdType, InputValueType>(readDelegate: ReadCRUDRepo<ObjectType, IdType>, writeDelegate: WriteCRUDRepo<ObjectType, IdType, InputValueType>) : CRUDRepo<ObjectType, IdType, InputValueType> , ReadCRUDRepo<ObjectType, IdType> , WriteCRUDRepo<ObjectType, IdType, InputValueType>
Content copied to clipboard
Constructors
Link copied to clipboard
fun <ObjectType, IdType, InputValueType> DelegateBasedCRUDRepo(readDelegate: ReadCRUDRepo<ObjectType, IdType>, writeDelegate: WriteCRUDRepo<ObjectType, IdType, InputValueType>)
Content copied to clipboard
Functions
Link copied to clipboard
open suspend override fun create(values: List<InputValueType>): List<ObjectType>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun getByPagination(pagination: Pagination): PaginationResult<ObjectType>
Content copied to clipboard
Link copied to clipboard
open suspend override fun update(values: List<UpdatedValuePair<IdType, InputValueType>>): List<ObjectType>
Content copied to clipboard
open suspend override fun update(id: IdType, value: InputValueType): ObjectType?
Content copied to clipboard